import QtQuick 2.0
import "../../js/util.js" as Util
Item {
    id: splash
    anchors.fill: parent

    property int timeoutInterval: 1000
    signal timeout

    Image {
        id: splashImage

        anchors.fill: parent
        source: {
            if(Util.isMobileDevice())
            return Util.isHDScreen()?"qrc:/images/boot_pc.png":"qrc:/images/boot.png"
            return "qrc:/images/boot_pc.png"
        }
    }

    Timer {
        interval: timeoutInterval; running: true; repeat: false
        onTriggered: {
            visible = false
            splash.timeout()
        }
    }
}


